package report2;

import java.util.Scanner;

public class ReadName {
    public static void main(String[] args) {
        String name;
        Scanner sc = new Scanner(System.in);
        name = sc.next();
        while(!name.equals("end")){
            System.out.println(name);
            name = sc.next();
        }
    }
}
